﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PrintExpert.aspx.cs" Inherits="lcs.Web.tenderExpert.PrintExpert" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <style type="text/css">
        #print {
            width: 78px;
        }

        .auto-style1 {
            width: 794px;
            margin: auto;
            border: solid 1px;
            border-color: black;
            border-collapse: collapse;
        }

            .auto-style1 td {
                border: solid 1px;
            }

        .tdclass {
            width: 180px;
            text-align: center;
            font-size: 12.0pt;
            font-family: 宋体;
            height: 38px;
        }

        .tdLeft {
            text-align: left;
        }
    </style>
    <script type="text/javascript">

        function printme() {
            document.body.innerHTML = document.getElementById('div1').innerHTML;
            window.print();
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <div style="text-align: center; font-size: 12px;" id="div1">

            <table class="auto-style1">
                <tr>
                    <td style="text-align: center; font-size: 22.0pt; font-family: 宋体; font-weight: bold;" colspan="2">专家抽取记录表
                    </td>
                </tr>
                <tr>
                    <td style="text-align: right;" colspan="2" class="auto-style2">招标编号：<asp:Label ID="lbl_zbbh" runat="server" Text=""></asp:Label></td>
                </tr>
                <tr>
                    <td class="tdclass">项目名称</td>
                    <td class="tdLeft">
                        <asp:Label ID="lbl_projectName" runat="server" Text=""></asp:Label></td>
                </tr>
                <tr>
                    <td class="tdclass">招标编号</td>
                    <td class="tdLeft">
                        <asp:Label ID="lbl_zbbht" runat="server" Text=""></asp:Label></td>
                </tr>
                <tr>
                    <td class="tdclass">抽取专家名单</td>
                    <td class="tdLeft">
                        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BorderColor="Black" BorderStyle="Solid" BorderWidth="1px" Width="100%">
                            <Columns>
                                <asp:TemplateField HeaderText="序号" InsertVisible="False">

                                    <ItemStyle HorizontalAlign="Center" />
                                    <ItemTemplate>
                                        <%#Container.DataItemIndex+1%>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:BoundField DataField="expertName" HeaderText="姓名" ItemStyle-HorizontalAlign="Center" />
                                <asp:BoundField DataField="expertMajor" HeaderText="专家类别" ItemStyle-HorizontalAlign="Center"/>
                                <asp:BoundField DataField="contactway" HeaderText="联系方式" ItemStyle-HorizontalAlign="Center"/>
                            </Columns>
                            <HeaderStyle BorderColor="Black" BorderStyle="Solid" BorderWidth="1px" />

                        </asp:GridView>
                    </td>
                </tr>
                <tr>
                    <td class="tdclass">抽取人</td>
                    <td class="tdLeft">
                        <asp:Label ID="lbl_cqr" runat="server" Text=""></asp:Label></td>
                </tr>
                <tr>
                    <td class="tdclass">监督人</td>
                    <td class="tdLeft">
                        <asp:Label ID="lbl_jdr" runat="server" Text=""></asp:Label></td>
                </tr>
                <tr>
                    <td class="tdclass">备注</td>
                    <td class="tdLeft">
                        <asp:Label ID="lbl_bz" runat="server" Text=""></asp:Label></td>
                </tr>
            </table>

        </div>
    </form>
    <p style="text-align: center">
        <input id="print" type="button" value="打印" onclick="printme()" />
    </p>
</body>
</html>
